Convert SQL result to JSON

welcome to shbcf.ru